﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>{% block title %} {% endblock %}</title>
<link rel="stylesheet" href="/static/css/frame_footer.css" type="text/css" />
<link rel="stylesheet" href="/static/css/group_base.css" type="text/css" />
<link rel="stylesheet" href="/static/css/group_forms.css" type="text/css" />
<script type="text/javascript" src="/static/js/jquery.js"></script>
<script type="text/javascript" src="/static/js/global.js"></script>
<script>
  $(function() {
    $('#globalSearchBtn').click(function(){
      var current_href = window.location.href;
      var two_slash_pos = current_href.indexOf("//");
      var third_slash_pos = current_href.indexOf("/" , (two_slash_pos+2));
      var host = current_href.substring(two_slash_pos + 2, third_slash_pos);
      var new_loc = "http://" + host + "/groups/searching/group_name=" + $('#globalSearchInput').val() + '&city=&district=';
      window.location.href=new_loc; 
    });
  });
</script>
	{% block custom_header %} {% endblock %}
</head>

<body class="humble">
	<!-- C_announcementStatus-->
	<div id="C_announcementStatus" class="hasAnnouncement">

		<!-- C_page -->
		{% block content %}{% endblock %}
    <!-- end of C_page -->
    <!-- footer -->
    {% block footer %}
    <div id="j_id190" class="footer-content">
      <div class="inner-content">
        <div class="inner-content-content">
          <ul id="ft-nav">
            <li><a href="http://www.pengtouba.cn/" id="j_id192" style="color:#E7E7E7;">关于碰头吧</a>
            </li>
            <li><a href="/help" id="j_id195" style="color:#E7E7E7;">使用帮助</a>
            </li>
            <li><a href="http://www.pengtouba.cn/" id="j_id198" style="color:#E7E7E7;">隐私说明</a>
            </li>
            <li><a href="http://www.pengtouba.cn/" id="j_id201" style="color:#E7E7E7;">联系我们</a>
            </li>
            <li><a href="http://www.pengtouba.cn/" id="j_id204" style="color:#E7E7E7;">求贤若渴</a>
            </li>
            <li><a href="http://www.pengtouba.cn/" id="j_id207" style="color:#E7E7E7;">反馈</a></li>
            <li><a href="http://www.pengtouba.cn/" id="j_id209" style="color:#E7E7E7;">友情链接</a>
            </li>
          </ul>
          <div class="copyright">&copy;2009 碰头吧 ICP&#22791;******&#21495;</div>

          <div class="links">
            <span><b>每天都有新活动 每次活动都有惊喜</span>
            <span style="padding-left:10px;"><b>玩在一起 乐在一起</b></span>
          </div>
        </div>
      </div>
    </div>
    {% endblock %}
    <!-- end of footer -->
		
		<!-- C_header -->
		<div id="C_header"> 
			
			<!-- C_headerBody -->
			<div id="C_headerBody"> 
				
				<!-- C_logo -->
				<div id="C_logo"> 
					<a href="/groups/search/"> 
						<img src="/static/img/meet.PNG" alt="Meetup"> 
					</a> 
				</div>
				<!-- end of C_logo-->
				
				<!-- C_userNav -->
				<div id="C_userNav">
					<!-- C_userLinks -->
					<div id="C_userLinks">
						<ul style="position: relative;">
							{% if not user.is_anonymous%}
              <li><a href="/accounts/logout/">退出</a></li>
              <li><a href="/accounts/profile/">用户资料</a></li>
							{% else %}
              <li><a href="/accounts/login/">登录</a></li>
              <li><a href="/accounts/register/">注册</a></li>
							{% endif %}
							
							<li><a href="/help">帮助</a></li>
						</ul>
					</div>
					<!--end of C_userLinks -->
				</div>
				<!-- end of C_userNav -->
				
				<!-- C_globalNav-->
				<div id="C_globalNav">
					
					<!-- C_tabs-->
					<div id="C_tabs">
						<a href="/groups/search/">
							<span class="C_tabContent">
								<span class="C_topBig"> 寻找 </span> 
								<span class="C_topSm">您的碰头小组</span>
							</span>
						</a>
						
						<a id="tabs_start" class="omnCamp omnic_sn1 last" href="/groups/create/">
							<span class="C_startContainer C_tabContent">
								<span class="C_topBig">创建</span> 
								<span class="C_topSm">新的碰头小组</span>
							</span>
						</a>
					</div>
					
					<!-- end of C_tabs-->
				</div>
				<!-- end of C_globalNav -->
		
				<form id="C_globalSearch" method="get" action="javascript:document.getElementById('globalSearchBtn').click()">
				  <input name="keywords" autocomplete="off" id="globalSearchInput" 
				  class="textInputTip D_topicSearch" title="Enter topic or interest" maxlength="100" type="text" />
				  <div class="D_submitInline"> 
				  	<input id="globalSearchBtn" name="submitButton" value="搜索" class="D_submit" type="button" >
				  </div>
				  <input style="display: none;" type="submit"> 
				  <input name="jsCountry" value="us" type="hidden">
				</form>
			</div>
			<!-- end of C_headerbody-->
		</div>
		<!-- end of C_header-->
	</div>
	<!-- end of C_announcementStatus -->

  {% if user.is_anonymous or not user.is_staff %}
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-1452090-4");
pageTracker._trackPageview();
} catch(err) {}</script>
{%endif%}

</body>
</html>
